Get premium membership and access questions with answers, video lessons as well as revision papers.

What does the following program display? #include using namespace std; int main() { int i = 10; long 1 = 1000000; double d = -0.0009; cout << i << ' ' <<1<<...

      

What does the following program display?
#include
using namespace std;
int main()
{
int i = 10;
long 1 = 1000000;
double d = -0.0009;
cout << i << ' ' <<1<< ' '<cout << "\n";
return 0;
}

  

Answers


Davis
1000000 -0.0009
Githiari answered the question on May 12, 2018 at 16:32


Next: Create a C++ class called line that draws a line on the screen.Store the line length in a private integer variable called len.Have line's constructor...
Previous: Modify the following program so that all member functions are automatically in-lined: #include using namespace std; class myclass { int i, j; public: myclass (int x, int y); void show(); }; myclass ::...

View More Computer Science Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions